package com.example.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//import com.example.demo.config.JobRegistryCenterConfig;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan({"com.example.demo.dao"})
@ServletComponentScan
//@EnableConfigurationProperties({JobRegistryCenterConfig.class})
//@EnableAutoConfiguration
public class ServerMybatisApplication {

	public static void main(String[] args) {
		SpringApplication.run(ServerMybatisApplication.class, args);
	}

}
